package cn.mymall.entity.mall;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_brand")
public class Brand extends Model {
	private static final long serialVersionUID = 3731797719471208940L;
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	private String name;					//名称
	private Integer categoryId;				//分类id
	private String logo;					//图片logo
	private Integer sortNum;				//排序
	public Brand(){

	}
	public Brand(Integer id,String name,Integer categoryId,String logo,Integer sortNum){

	}
}
